/* --------------------------------------------------------------

   ie.css

   Contains every hack for Internet Explorer,
   so that our core files stay sweet and nimble.

-------------------------------------------------------------- */
/* Fixes incorrect styling of legend in IE6. */
* html legend { margin:0px -8px 16px 0; padding:0; }

/* Fixes wrong line-height on sup/sub in IE. */
sup { vertical-align:text-top; }
sub { vertical-align:text-bottom; }

/* Fixes IE7 missing wrapping of code elements. */
html>body p code { *white-space: normal; }

/* IE 6&7 has problems with setting proper <hr> margins. */
hr  { margin:-8px auto 11px; }

/* Explicitly set interpolation, allowing dynamically resized images to not look horrible */
img { -ms-interpolation-mode:bicubic; }

/* Clearing
-------------------------------------------------------------- */

/* Forms
-------------------------------------------------------------- */

/* Fixes padding on fieldset */
fieldset { padding-top:0; }

/* Makes classic textareas in IE 6 resemble other browsers */
textarea { overflow:auto; }

/* Fixes rule that IE 6 ignores */
input.text, input.title, textarea { background-color:#fff; border:1px solid #bbb; }
input.text:focus, input.title:focus { border-color:#666; }
input.text, input.title, textarea, select { margin:0.5em 0; }
input.checkbox, input.radio { position:relative; top:.25em; }

/* Fixes alignment of inline form elements */
form.inline div, form.inline p { vertical-align:middle; }
form.inline label { position:relative;top:-0.25em; }
form.inline input.checkbox, form.inline input.radio,
form.inline input.button, form.inline button {
  margin:0.5em 0;
}
button, input.button { position:relative;top:0.25em; }



/* --------------------------------------------------------------

   ie.css

   Contains every hack for Internet Explorer,
   so that our core files stay sweet and nimble.

-------------------------------------------------------------- */
/* Fixes incorrect styling of legend in IE6. */
* html legend { margin:0px -8px 16px 0; padding:0; }

/* Fixes wrong line-height on sup/sub in IE. */
sup { vertical-align:text-top; }
sub { vertical-align:text-bottom; }

/* Fixes IE7 missing wrapping of code elements. */
html>body p code { *white-space: normal; }

/* IE 6&7 has problems with setting proper <hr> margins. */
hr  { margin:-8px auto 11px; }

/* Explicitly set interpolation, allowing dynamically resized images to not look horrible */
img { -ms-interpolation-mode:bicubic; }

/* Clearing
-------------------------------------------------------------- */

/* Forms
-------------------------------------------------------------- */

/* Fixes padding on fieldset */
fieldset { padding-top:0; }

/* Makes classic textareas in IE 6 resemble other browsers */
textarea { overflow:auto; }

/* Fixes rule that IE 6 ignores */
input.text, input.title, textarea { background-color:#fff; border:1px solid #bbb; }
input.text:focus, input.title:focus { border-color:#666; }
input.text, input.title, textarea, select { margin:0.5em 0; }
input.checkbox, input.radio { position:relative; top:.25em; }

/* Fixes alignment of inline form elements */
form.inline div, form.inline p { vertical-align:middle; }
form.inline label { position:relative;top:-0.25em; }
form.inline input.checkbox, form.inline input.radio,
form.inline input.button, form.inline button {
  margin:0.5em 0;
}
button, input.button { position:relative;top:0.25em; }

img{
	behavior: url('/site/theme/js/iepngfix.htc');
}

.main_container{
	width: expression((document.body.clientWidth)<950?'950px':'auto');
	width: expression((document.body.clientWidth)>1220?'1220px':'auto');
	
}
#footer{
	width: expression((document.body.clientWidth)<950?'950px':'auto');
	width: expression((document.body.clientWidth)>1220?'1220px':'auto');
	
}
#pre_wrapper{
	width: expression((document.body.clientWidth)<952?'952px':'auto');
}

#catmenucont{
 	expression( this.scrollHeight < 50 ? "50px" : "auto" );	
}
.main_content{
	expression( this.scrollHeight < 450 ? "450px" : "auto" );	
}

#salon_list li.active{
	behavior: url('/site/theme/js/pie.htc');	
}

/*
#salon_types li.active{
	behavior: url('/site/theme/js/pie.htc');
	position: relative;
}*/
#header{
	behavior: url(/site/theme/css/PIE.php);
}
#main_container{
	behavior: url(/site/theme/css/PIE.php);
}
.main_content{
	behavior: url(/site/theme/css/PIE.php);
}
#main_menu .first{
	behavior: url(/site/theme/css/PIE.php);
}
#main_menu .last{
	behavior: url(/site/theme/css/PIE.php);
}
#main_menu {
	behavior: url(/site/theme/css/PIE.php);
}
#main_menu ul ul{
	border: solid 1px #ccc;
}
#city_select{
	behavior: url(/site/theme/css/PIE.php);
}

#filter_type li{
	behavior: url(/site/theme/css/PIE.php);
}
#sort_wares li{
	behavior: url(/site/theme/css/PIE.php);
}

